home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / hard / drivr / addspeed.lha / AddSpeed.DOC < prev    next >
Text File  |  1992-02-02  |  2KB  |  73 lines

  1.     AddSpeed (c) 1991, Niklas Sjöberg
  2.     EMail to : Niklas Sjoberg, 2:203/415.3@Fidonet
  3.  
  4.     Snail-Mail to :
  5.  
  6.     Niklas Sjöberg
  7.     Karolineborgsv. 8
  8.     S-302 41 Halmstad
  9.     SWEDEN
  10.  
  11.  
  12.     Why AddSpeed?
  13.  
  14.        My original AdSpeed program flips out quite often, telling  me
  15.     "No  AdSpeed" and siwtches to 7 MHz, even though I was running in
  16.     14 MHz! I don't know if there exist  two  different  versions  of
  17.     this  program  (mine  is  9884  bytes  big)  and I was to lazy to
  18.     disassemble it and try to locate something NTSC-dependent (it  is
  19.     made  in  USA  so  I  figured  it  might be something like that).
  20.     Instead I wrote my own program, which looks for  an  AdSpeed  and
  21.     switches  it either ON or OFF. It have never failed so far, which
  22.     AdSpeed  often  does..  And  besides,  AddSpeed  got  some  other
  23.     features, like checking for AdSpeed from a script.
  24.  
  25.  
  26.     Starting AdSpeed
  27.  
  28.     AdSpeed may be run from either WorkBench or CLI/Shell.
  29.     (also from WorkBench 2.04)
  30.  
  31.     From Workbench :
  32.        Click on AddSpeed's icon. A window will  open  and  toggle  the
  33.     speed of your AdSpeed. If you are running in 7 MHz it will switch
  34.     to 14 MHz and vice versa. It will exit right after switching.
  35.  
  36.  
  37.     From CLI/Shell :
  38.        Just 'AddSpeed' will pop up info  about  what  speed  you  are
  39.     currently  running  and  display  the  syntax which is : AddSpeed
  40.     ON/OFF (actually OF is enough)
  41.  
  42.  
  43.  
  44.     Using AddSpeed in a scriptfile
  45.  
  46.        You can use AddSpeed from a script to check if an  AdSpeed  is
  47.     installed.  Simply  call  AddSpeed without any parameters. One of
  48.     the following codes are returned :
  49.  
  50.     30   Unable to open dos.library
  51.     10   Failed to switch speed for some reason
  52.     5    No AdSpeed installed, or no FAST-mem (AdSpeed onyl cache
  53.          FAST-mem, so otherwise it is useless)
  54.     0    AdSpeed installed or speed toggling went OK.
  55.  
  56.  
  57.     Example:
  58.  
  59.     Failat 10
  60.     AddSpeed >NIL:
  61.     If WARN
  62.       Echo "No AdSpeed, or no FAST-mem"
  63.     Else
  64.       Echo "Hey, congratulations you have an AdSpeed!"
  65.     Endif
  66.  
  67.  
  68.     P.S I just got an letter from ICD stating that I don't have any
  69.         FAST-mem..The letter said "Technical Support".  HAA!
  70.     D.S
  71.  
  72.  
  73.